diff options
author | Parménides GV <parmegv@sdf.org> | 2015-04-28 16:45:17 +0200 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2015-04-28 16:45:17 +0200 |
commit | 6cc1443a27a4be762e4b53deb464d15a99d698ac (patch) | |
tree | f37785e771471f1cf80cbc263936c219e1963d6e /app/src/main/res/layout | |
parent | 834fe99739264d498e3e8c87002b0e92cf8160a0 (diff) |
Remove the "provider:" label, simplifying layout
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/dashboard.xml | 39 |
1 files changed, 13 insertions, 26 deletions
diff --git a/app/src/main/res/layout/dashboard.xml b/app/src/main/res/layout/dashboard.xml index f4269fe2..d76ccbec 100644 --- a/app/src/main/res/layout/dashboard.xml +++ b/app/src/main/res/layout/dashboard.xml @@ -5,33 +5,19 @@ android:layout_height="match_parent" android:orientation="vertical" tools:context=".Dashboard" > - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="40dp" - android:background="?android:attr/selectableItemBackground" > - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginLeft="5dp" - android:ellipsize="marquee" - android:singleLine="true" - android:text="@string/provider_label" - android:textAppearance="?android:attr/textAppearanceMedium" /> - - <TextView - android:id="@+id/providerName" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:textSize="28sp" - android:layout_marginLeft="10dp" - android:ellipsize="marquee" - android:singleLine="true" - android:text="@string/provider_label_none" - android:textAppearance="?android:attr/textAppearanceMedium" /> - </LinearLayout> + <TextView + android:id="@+id/providerName" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="10dp" + android:layout_marginStart="10dp" + android:textSize="26sp" + android:ellipsize="marquee" + android:gravity="center_vertical" + android:singleLine="true" + android:text="@string/provider_label_none" + android:textAppearance="?android:attr/textAppearanceMedium" /> <LinearLayout android:layout_width="match_parent" @@ -48,6 +34,7 @@ android:layout_height="wrap_content" android:textSize="18sp" android:layout_marginLeft="10dp" + android:layout_marginStart="10dp" android:ellipsize="marquee" android:singleLine="true" android:textAppearance="?android:attr/textAppearanceMedium" |