mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-15 10:22:40 +01:00
DroidFish: Made monospace font work on HTC M9. This required changing
the minimum API level to 16 (4.1).
This commit is contained in:
@@ -9,8 +9,8 @@
|
|||||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<uses-permission android:name="android.permission.VIBRATE" />
|
<uses-permission android:name="android.permission.VIBRATE" />
|
||||||
<uses-sdk android:minSdkVersion="15"
|
<uses-sdk android:minSdkVersion="16"
|
||||||
android:targetSdkVersion="15"/>
|
android:targetSdkVersion="16"/>
|
||||||
<application android:icon="@drawable/icon"
|
<application android:icon="@drawable/icon"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:allowBackup="true">
|
android:allowBackup="true">
|
||||||
|
|||||||
@@ -10,4 +10,4 @@
|
|||||||
# Indicates whether an apk should be generated for each density.
|
# Indicates whether an apk should be generated for each density.
|
||||||
split.density=false
|
split.density=false
|
||||||
# Project target.
|
# Project target.
|
||||||
target=android-15
|
target=android-16
|
||||||
|
|||||||
@@ -67,8 +67,9 @@
|
|||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:includeFontPadding="true"
|
android:includeFontPadding="true"
|
||||||
|
android:fontFamily="monospace"
|
||||||
android:typeface="monospace"
|
android:typeface="monospace"
|
||||||
android:textSize="10dip"/>
|
android:textSize="12sp"/>
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
@@ -84,8 +85,9 @@
|
|||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:includeFontPadding="true"
|
android:includeFontPadding="true"
|
||||||
|
android:fontFamily="monospace"
|
||||||
android:typeface="monospace"
|
android:typeface="monospace"
|
||||||
android:textSize="10dip"/>
|
android:textSize="12sp"/>
|
||||||
</view>
|
</view>
|
||||||
<ScrollView
|
<ScrollView
|
||||||
android:id="@+id/scrollView"
|
android:id="@+id/scrollView"
|
||||||
@@ -97,8 +99,9 @@
|
|||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:includeFontPadding="true"
|
android:includeFontPadding="true"
|
||||||
|
android:fontFamily="monospace"
|
||||||
android:typeface="monospace"
|
android:typeface="monospace"
|
||||||
android:textSize="10dip"/>
|
android:textSize="12sp"/>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@@ -24,8 +24,9 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:includeFontPadding="true"
|
android:includeFontPadding="true"
|
||||||
|
android:fontFamily="monospace"
|
||||||
android:typeface="monospace"
|
android:typeface="monospace"
|
||||||
android:textSize="10dip"/>
|
android:textSize="12sp"/>
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/custom3Button"
|
android:id="@+id/custom3Button"
|
||||||
android:contentDescription="@string/buttonDesc_custom3"
|
android:contentDescription="@string/buttonDesc_custom3"
|
||||||
@@ -78,8 +79,9 @@
|
|||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:includeFontPadding="true"
|
android:includeFontPadding="true"
|
||||||
|
android:fontFamily="monospace"
|
||||||
android:typeface="monospace"
|
android:typeface="monospace"
|
||||||
android:textSize="10dip"/>
|
android:textSize="12sp"/>
|
||||||
</view>
|
</view>
|
||||||
<ScrollView
|
<ScrollView
|
||||||
android:id="@+id/scrollView"
|
android:id="@+id/scrollView"
|
||||||
@@ -91,8 +93,9 @@
|
|||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:includeFontPadding="true"
|
android:includeFontPadding="true"
|
||||||
|
android:fontFamily="monospace"
|
||||||
android:typeface="monospace"
|
android:typeface="monospace"
|
||||||
android:textSize="10dip"/>
|
android:textSize="12sp"/>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
android:marqueeRepeatLimit="marquee_forever"
|
android:marqueeRepeatLimit="marquee_forever"
|
||||||
android:scrollHorizontally="false"
|
android:scrollHorizontally="false"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
|
android:textSize="14sp"
|
||||||
android:tag="title" >
|
android:tag="title" >
|
||||||
</TextView>
|
</TextView>
|
||||||
<TextView
|
<TextView
|
||||||
@@ -37,6 +38,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:textSize="14sp"
|
||||||
android:tag="title"
|
android:tag="title"
|
||||||
android:text="@string/app_name">
|
android:text="@string/app_name">
|
||||||
</TextView>
|
</TextView>
|
||||||
@@ -53,6 +55,7 @@
|
|||||||
android:marqueeRepeatLimit="marquee_forever"
|
android:marqueeRepeatLimit="marquee_forever"
|
||||||
android:scrollHorizontally="true"
|
android:scrollHorizontally="true"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
|
android:textSize="14sp"
|
||||||
android:tag="title" >
|
android:tag="title" >
|
||||||
</TextView>
|
</TextView>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
@@ -76,6 +79,7 @@
|
|||||||
android:marqueeRepeatLimit="marquee_forever"
|
android:marqueeRepeatLimit="marquee_forever"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:tag="title"
|
android:tag="title"
|
||||||
|
android:textSize="14sp"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
android:textStyle="bold">
|
android:textStyle="bold">
|
||||||
</TextView>
|
</TextView>
|
||||||
@@ -87,6 +91,7 @@
|
|||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:gravity="center|center_vertical"
|
android:gravity="center|center_vertical"
|
||||||
android:tag="title"
|
android:tag="title"
|
||||||
|
android:textSize="14sp"
|
||||||
android:text="">
|
android:text="">
|
||||||
</TextView>
|
</TextView>
|
||||||
<TextView
|
<TextView
|
||||||
@@ -103,6 +108,7 @@
|
|||||||
android:scrollHorizontally="true"
|
android:scrollHorizontally="true"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:tag="title"
|
android:tag="title"
|
||||||
|
android:textSize="14sp"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
android:textStyle="bold">
|
android:textStyle="bold">
|
||||||
</TextView>
|
</TextView>
|
||||||
|
|||||||
Reference in New Issue
Block a user