gello: revamp add/edit bookmark UI
Change-Id: I24f3fc03a4c9c3b07b7d1a983927b31eab74a8f4
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
diff --git a/res/layout/download_settings.xml b/res/layout/download_settings.xml
index 8a45375..374f51c 100644
--- a/res/layout/download_settings.xml
+++ b/res/layout/download_settings.xml
@@ -89,7 +89,7 @@
android:orientation="vertical" >
<LinearLayout android:layout_width="match_parent"
- android:layout_height="72dp"
+ android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="8dp"
android:layout_gravity="center">
@@ -114,63 +114,65 @@
</LinearLayout>
<LinearLayout android:layout_width="match_parent"
- android:layout_height="72dp"
+ android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="8dp"
android:layout_gravity="center">
<ImageView
android:layout_height="@dimen/download_icon_size"
android:layout_width="@dimen/download_icon_size"
- android:src="@drawable/ic_download_size"/>
+ android:src="@drawable/ic_download_size"
+ android:gravity="center"/>
<LinearLayout android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingStart="16dp"
android:paddingBottom="16dp">
<TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:textColor="@color/black"
+ android:text="@string/download_size_hint"
+ android:textSize="18sp" />
+ <TextView
android:id="@+id/download_estimate_size_content"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="@string/download_filesize"
android:textAppearance="?android:attr/textAppearanceMedium"
- android:textColor="@color/black"
- android:textSize="18sp" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
android:textColor="@color/download_text_hint"
- android:text="@string/download_size_hint"
android:textSize="@dimen/download_text_hint" />
</LinearLayout>
</LinearLayout>
<LinearLayout android:layout_width="match_parent"
- android:layout_height="72dp"
+ android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_gravity="center">
<ImageView
android:layout_height="@dimen/download_icon_size"
android:layout_width="@dimen/download_icon_size"
- android:src="@drawable/ic_download_eta"/>
+ android:src="@drawable/ic_download_eta"
+ android:gravity="center"/>
<LinearLayout android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="16dp"
android:paddingStart="16dp">
<TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/download_eta_hint"
+ android:textColor="@color/black"
+ android:textSize="18sp" />
+ <TextView
android:id="@+id/download_estimate_time_content"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="@string/download_timeneeded"
android:textAppearance="?android:attr/textAppearanceMedium"
- android:textColor="@color/black"
- android:textSize="18sp" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/download_eta_hint"
android:textColor="@color/download_text_hint"
android:textSize="@dimen/download_text_hint" />
</LinearLayout>