Changeset 7:c3e87daa7c1b for android
- Timestamp:
- 07/06/10 22:39:27 (14 years ago)
- Branch:
- default
- Convert:
- svn:f819dc9c-ca78-df11-852c-0018fe7759ca/trunk@8
- Location:
- android
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
android/res/layout/comiclist.xml
r2 r7 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <ListView 3 xmlns:android="http://schemas.android.com/apk/res/android" 4 android:layout_width="wrap_content" 5 android:layout_height="wrap_content"> 6 </ListView> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:orientation="vertical" 4 android:layout_width="fill_parent" 5 android:layout_height="fill_parent" 6 android:paddingLeft="8dp" 7 android:paddingRight="8dp"> 8 9 <ListView android:id="@android:id/android:list" 10 android:layout_width="fill_parent" 11 android:layout_height="fill_parent" 12 android:layout_weight="1" 13 android:drawSelectorOnTop="false"/> 14 15 <LinearLayout android:id="@android:id/android:empty" 16 android:layout_width="fill_parent" 17 android:layout_height="fill_parent" android:orientation="vertical" 18 android:layout_gravity="center"> 19 20 <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" 21 android:src="@drawable/download" android:layout_gravity="center" android:padding="5px"></ImageView> 22 23 <TextView android:layout_width="fill_parent" 24 android:layout_height="fill_parent" 25 android:text="@string/list.empty" android:padding="10px" android:linksClickable="true"/> 26 27 </LinearLayout> 28 </LinearLayout> -
android/res/values/strings.xml
r6 r7 40 40 <string name="list.browse_short">Browse</string> 41 41 42 <string name="list.empty"><b>No comics installed.</b> <br />You can download comics from the <a href="http://webstrips.tnode.com">WebStrips homepage</a>.</string> 43 42 44 <string name="comic.removed">Comic %1$s removed.</string> 43 45 <string name="comic.updated">Comic %1$s updated.</string> -
android/src/org/webstrips/android/ComicListActivity.java
r6 r7 171 171 protected void onCreate(Bundle savedInstanceState) { 172 172 super.onCreate(savedInstanceState); 173 173 setContentView(R.layout.comiclist); 174 174 } 175 175 … … 185 185 bindService(new Intent("org.webstrips.MANAGER", null, this, 186 186 WebStripsService.class), connection, 0); 187 187 188 } 188 189
Note: See TracChangeset
for help on using the changeset viewer.