@ -1,24 +0,0 @@ |
|||||||
package org.floens.chan.ui.cell; |
|
||||||
|
|
||||||
import android.content.Context; |
|
||||||
import android.util.AttributeSet; |
|
||||||
import android.widget.LinearLayout; |
|
||||||
|
|
||||||
public class PinCell extends LinearLayout { |
|
||||||
public PinCell(Context context) { |
|
||||||
super(context); |
|
||||||
} |
|
||||||
|
|
||||||
public PinCell(Context context, AttributeSet attrs) { |
|
||||||
super(context, attrs); |
|
||||||
} |
|
||||||
|
|
||||||
public PinCell(Context context, AttributeSet attrs, int defStyleAttr) { |
|
||||||
super(context, attrs, defStyleAttr); |
|
||||||
} |
|
||||||
|
|
||||||
@Override |
|
||||||
protected void onFinishInflate() { |
|
||||||
super.onFinishInflate(); |
|
||||||
} |
|
||||||
} |
|
After Width: | Height: | Size: 209 B |
After Width: | Height: | Size: 199 B |
After Width: | Height: | Size: 170 B |
After Width: | Height: | Size: 168 B |
After Width: | Height: | Size: 199 B |
After Width: | Height: | Size: 196 B |
After Width: | Height: | Size: 226 B |
After Width: | Height: | Size: 220 B |
After Width: | Height: | Size: 258 B |
After Width: | Height: | Size: 270 B |
@ -0,0 +1,19 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||||
|
android:orientation="horizontal" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="48dp"> |
||||||
|
|
||||||
|
<TextView |
||||||
|
android:id="@+id/text" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="48dp" |
||||||
|
android:ellipsize="end" |
||||||
|
android:gravity="center_vertical" |
||||||
|
android:paddingLeft="16dp" |
||||||
|
android:paddingRight="16dp" |
||||||
|
android:singleLine="true" |
||||||
|
android:textColor="#ff757575" |
||||||
|
android:textSize="14sp" /> |
||||||
|
|
||||||
|
</LinearLayout> |
@ -0,0 +1,30 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||||
|
android:orientation="horizontal" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="48dp" |
||||||
|
android:background="?attr/selectableItemBackground"> |
||||||
|
|
||||||
|
<ImageView |
||||||
|
android:id="@+id/image" |
||||||
|
android:layout_width="56dp" |
||||||
|
android:layout_height="match_parent" |
||||||
|
android:paddingLeft="16dp" |
||||||
|
android:paddingRight="16dp" |
||||||
|
android:scaleType="center" |
||||||
|
android:layout_gravity="center_vertical" /> |
||||||
|
|
||||||
|
<TextView |
||||||
|
android:id="@+id/text" |
||||||
|
android:layout_width="0dp" |
||||||
|
android:layout_height="match_parent" |
||||||
|
android:layout_weight="1" |
||||||
|
android:ellipsize="end" |
||||||
|
android:gravity="center_vertical" |
||||||
|
android:paddingLeft="16dp" |
||||||
|
android:paddingRight="16dp" |
||||||
|
android:singleLine="true" |
||||||
|
android:textColor="#ff212121" |
||||||
|
android:textSize="14sp" /> |
||||||
|
|
||||||
|
</LinearLayout> |