mirror of https://github.com/M66B/NetGuard.git
Layout improvement
This commit is contained in:
parent
12cbb42224
commit
b12518f906
|
@ -65,7 +65,7 @@ public class AccessAdapter extends CursorAdapter {
|
|||
final TextView tvDest = (TextView) view.findViewById(R.id.tvDest);
|
||||
|
||||
// Set values
|
||||
tvTime.setText(new SimpleDateFormat("HH:mm:ss").format(time));
|
||||
tvTime.setText(new SimpleDateFormat("dd HH:mm").format(time));
|
||||
if (block < 0)
|
||||
ivBlock.setImageDrawable(null);
|
||||
else
|
||||
|
|
|
@ -8,16 +8,15 @@
|
|||
|
||||
<TextView
|
||||
android:id="@+id/tvTime"
|
||||
android:layout_width="50dp"
|
||||
android:layout_width="56dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
||||
android:textSize="12sp" />
|
||||
android:textAppearance="@android:style/TextAppearance.Material.Small" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivBlock"
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_gravity="center_vertical" />
|
||||
|
||||
<TextView
|
||||
|
@ -28,6 +27,5 @@
|
|||
android:layout_weight="1"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
||||
android:textSize="12sp" />
|
||||
android:textAppearance="@android:style/TextAppearance.Material.Small" />
|
||||
</LinearLayout>
|
||||
|
|
Loading…
Reference in New Issue