diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-11-11 21:32:03 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-11-11 21:32:03 -0800 |
commit | b5a1a88fe737430e99b82d0e9ac4df310486600a (patch) | |
tree | 7b269b51bda04c3cf8e391d4ef281b4a6bd77b4a /res/layout | |
parent | 9f1f29344b1ce6b21285bc781446debf8c16cb23 (diff) | |
download | dsub-b5a1a88fe737430e99b82d0e9ac4df310486600a.tar.gz dsub-b5a1a88fe737430e99b82d0e9ac4df310486600a.tar.bz2 dsub-b5a1a88fe737430e99b82d0e9ac4df310486600a.zip |
Styled action buttons, added bookmark logic
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/download_action_buttons.xml | 47 | ||||
-rw-r--r-- | res/layout/drawer_list_item.xml | 7 |
2 files changed, 14 insertions, 40 deletions
diff --git a/res/layout/download_action_buttons.xml b/res/layout/download_action_buttons.xml index 70e8cc43..e3a45151 100644 --- a/res/layout/download_action_buttons.xml +++ b/res/layout/download_action_buttons.xml @@ -9,52 +9,25 @@ <Button
android:id="@+id/download_jukebox"
android:text="RC"
- android:textStyle="bold"
- android:textSize="22sp"
- android:background="@drawable/menubar_button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom"
- android:paddingTop="4dip"
- android:paddingLeft="14dip"
- android:paddingBottom="4dip"/>
+ style="@style/DownloadActionButton"/>
<Button
android:id="@+id/download_equalizer"
android:text="EQ"
- android:textStyle="bold"
- android:textSize="22sp"
- android:background="@drawable/menubar_button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom"
- android:paddingTop="4dip"
- android:paddingLeft="7dip"
- android:paddingRight="7dip"
- android:paddingBottom="4dip"/>
+ style="@style/DownloadActionButton"/>
<Button
android:id="@+id/download_visualizer"
android:text="VIS"
- android:textStyle="bold"
- android:textSize="22sp"
- android:background="@drawable/menubar_button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom"
- android:paddingTop="4dip"
- android:paddingLeft="7dip"
- android:paddingRight="7dip"
- android:paddingBottom="4dip"/>
+ style="@style/DownloadActionButton"/>
<ImageButton
android:id="@+id/download_star"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@drawable/menubar_button"
- android:src="@android:drawable/star_big_off"
- android:paddingTop="8dip"
- android:paddingLeft="10dip"
- android:paddingRight="10dip"
- android:paddingBottom="8dip"/>
+ style="@style/DownloadActionImageButton"
+ android:src="@android:drawable/star_big_off"/>
+
+ <ImageButton
+ android:id="@+id/download_bookmark"
+ style="@style/DownloadActionImageButton"
+ android:src="?attr/bookmark"/>
</LinearLayout>
\ No newline at end of file diff --git a/res/layout/drawer_list_item.xml b/res/layout/drawer_list_item.xml index 66dd5a70..a85d043e 100644 --- a/res/layout/drawer_list_item.xml +++ b/res/layout/drawer_list_item.xml @@ -3,8 +3,8 @@ android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:paddingTop="5dip"
- android:paddingBottom="6dip">
+ android:paddingTop="8dip"
+ android:paddingBottom="9dip">
<ImageView
android:id="@+id/drawer_icon"
@@ -20,6 +20,7 @@ android:id="@+id/drawer_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:textAppearance="?android:attr/textAppearanceLarge"
+ android:textSize="26sp"
+ android:textStyle="bold"
android:singleLine="true"/>
</LinearLayout>
\ No newline at end of file |