File tree 5 files changed +18
-5
lines changed
java/com/ptrprograms/stayawake/Activities
5 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ android {
7
7
defaultConfig {
8
8
minSdkVersion 18
9
9
targetSdkVersion 19
10
- versionCode 92
11
- versionName " 1.2.10 "
10
+ versionCode 93
11
+ versionName " 1.2.11 "
12
12
}
13
13
14
14
buildTypes {
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ android {
7
7
defaultConfig {
8
8
minSdkVersion 19
9
9
targetSdkVersion 19
10
- versionCode 92
11
- versionName " 1.2.10 "
10
+ versionCode 93
11
+ versionName " 1.2.11 "
12
12
}
13
13
14
14
buildTypes {
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ private void setupIterationArray() {
83
83
private void initList () {
84
84
mListView = (ListView ) findViewById ( R .id .list_view );
85
85
mListView .setAdapter ( new ArrayAdapter <IterationListItem >( this ,
86
- android . R .layout .simple_list_item_1 , mIterationTimes ) );
86
+ R .layout .simple_list_item , mIterationTimes ) );
87
87
mListView .setOnItemClickListener ( this );
88
88
}
89
89
Original file line number Diff line number Diff line change 9
9
android : layout_width =" match_parent"
10
10
android : layout_height =" wrap_content"
11
11
android : text =" Select an interval"
12
+ android : gravity =" center"
12
13
/>
13
14
14
15
<ListView
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+
3
+ <TextView xmlns : android =" http://schemas.android.com/apk/res/android"
4
+ android : id =" @android:id/text1"
5
+ android : layout_width =" match_parent"
6
+ android : layout_height =" wrap_content"
7
+ android : textAppearance =" ?android:attr/textAppearanceListItemSmall"
8
+ android : gravity =" center"
9
+ android : paddingStart =" ?android:attr/listPreferredItemPaddingStart"
10
+ android : paddingEnd =" ?android:attr/listPreferredItemPaddingEnd"
11
+ android : minHeight =" ?android:attr/listPreferredItemHeightSmall"
12
+ />
You can’t perform that action at this time.
0 commit comments