1. Generalplus Technology Inc.
  2. Untitled project
  3. android_packages_apps_Tag

Commits

Jeff Hamilton  committed 87a4388

Fix the layout for the header in the tag viewer.

  • Participants
  • Parent commits f979f1c
  • Branches master

Comments (0)

Files changed (5)

File res/drawable-hdpi/title_bar_medium.9.png

  • Ignore whitespace
Added
New image

File res/drawable-hdpi/title_bar_tall.9.png

  • Ignore whitespace
Removed
Old image

File res/drawable-mdpi/title_bar_medium.9.png

  • Ignore whitespace
Added
New image

File res/drawable-mdpi/title_bar_tall.9.png

  • Ignore whitespace
Removed
Old image

File res/layout/tag_viewer.xml

View file
  • Ignore whitespace
 
     <RelativeLayout
         android:layout_width="match_parent"
-        android:layout_height="56dip"
+        android:layout_height="65dip"
 
-        android:background="@drawable/title_bar_tall"
+        android:background="@drawable/title_bar_medium"
     >
 
         <ImageView android:id="@+id/icon"
             android:layout_toRightOf="@id/icon"
             android:layout_toLeftOf="@id/star"
             android:layout_alignParentBottom="true"
-            android:layout_marginBottom="4dip"
+            android:layout_marginBottom="8dip"
+            android:layout_marginTop="-8dip"
 
             android:singleLine="true"
             android:textAppearance="?android:attr/textAppearanceSmall"
+            android:shadowColor="#BB000000"
+            android:shadowRadius="2.75"
         />
 
         <TextView android:id="@+id/title"
             android:layout_toRightOf="@id/icon"
             android:layout_toLeftOf="@id/star"
             android:layout_above="@id/date"
+            android:layout_alignParentTop="true"
             android:layout_alignWithParentIfMissing="true"
 
             android:singleLine="true"
             android:textAppearance="?android:attr/textAppearanceMedium"
             android:textStyle="bold"
+            android:shadowColor="#BB000000"
+            android:shadowRadius="2.75"
+            android:gravity="center_vertical"
         />