Layout improvement

This commit is contained in:
M66B 2015-11-01 09:47:18 +01:00
parent eab0234419
commit a08a8bfb06
1 changed files with 17 additions and 23 deletions

View File

@ -30,30 +30,15 @@
android:layout_gravity="center_vertical"
android:layout_marginStart="4dp" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
<TextView
android:id="@+id/tvName"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginStart="4dp"
android:orientation="vertical">
<TextView
android:id="@+id/tvName"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:ellipsize="end"
android:singleLine="true"
android:textAppearance="@android:style/TextAppearance.Material.Medium"
android:textStyle="bold" />
<TextView
android:id="@+id/tvPackage"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:ellipsize="start"
android:singleLine="true"
android:textAppearance="@android:style/TextAppearance.Material.Small" />
</LinearLayout>
android:layout_weight="1"
android:ellipsize="end"
android:gravity="center_vertical"
android:textAppearance="@android:style/TextAppearance.Material.Medium" />
</LinearLayout>
<CheckBox
@ -98,6 +83,15 @@
android:paddingTop="0dp"
android:visibility="gone">
<TextView
android:id="@+id/tvPackage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:ellipsize="start"
android:singleLine="true"
android:textAppearance="@android:style/TextAppearance.Material.Small" />
<CheckBox
android:id="@+id/cbUsing"
android:layout_width="wrap_content"