浏览代码

GUI Layouting (Main Options Menu)

master
gitsvn 12 年前
父节点
当前提交
794f83d32a

+ 2
- 0
res/layout/rbs_archerysetup_item.xml 查看文件

@@ -32,6 +32,7 @@
android:gravity="bottom|left"
android:lines="1"
android:paddingLeft="2dp"
android:scrollHorizontally="true"
android:text="Hoyt / Avalon"
android:textAppearance="?android:attr/textAppearanceMediumInverse"
android:textColor="@color/android_blue_dark"
@@ -45,6 +46,7 @@
android:gravity="bottom|left"
android:lines="1"
android:paddingLeft="2dp"
android:scrollHorizontally="true"
android:text="Hoyt / Avalon"
android:textAppearance="?android:attr/textAppearanceSmallInverse"
android:textColor="@color/black"

+ 1
- 1
res/layout/rbs_spinner.xml 查看文件

@@ -10,10 +10,10 @@
android:id="@+id/spinner_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:gravity="bottom|left"
android:lines="1"
android:paddingLeft="2dp"
android:scrollHorizontally="true"
android:text="FontTextView"
android:textColor="@color/white"
android:textSize="18sp"

+ 1
- 0
res/layout/rbs_spinner_item.xml 查看文件

@@ -12,6 +12,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ellipsize="end"
android:gravity="bottom|left"
android:lines="1"
android:paddingLeft="2dp"

+ 3
- 0
res/layout/rbs_spinner_riser.xml 查看文件

@@ -16,6 +16,7 @@
android:id="@+id/spinner_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:gravity="bottom|left"
android:lines="1"
android:paddingLeft="2dp"
@@ -24,6 +25,7 @@
android:textSize="18sp"
android:typeface="sans"
app:font="@string/TitilliumWeb_Regular" />
</LinearLayout>
<LinearLayout
@@ -38,6 +40,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ellipsize="end"
android:gravity="bottom|left"
android:lines="1"
android:paddingLeft="2dp"

+ 1
- 0
res/values/colors.xml 查看文件

@@ -7,6 +7,7 @@
<color name="yellow">#AAFFFFAA</color>
<color name="white">#FFFFFFFF</color>
<color name="gray_lite">#FFC8C8C8</color>
<color name="gray_medium">#FFA0A0A0</color>
<color name="gray_dark">#FF7F7F7F</color>
<color name="android_blue">#FF33B5E5</color>
<color name="android_blue_dark">#FF0099CC</color>

+ 1
- 1
src/ch/spherIC/recurvebowsight/components/FontEditText.java 查看文件

@@ -76,7 +76,7 @@ public class FontEditText extends EditText {
} else {
setBackgroundDrawable(getResources().getDrawable(android.R.drawable.editbox_dropdown_light_frame));
getBackground().setAlpha(255);
setTextColor(getResources().getColor(R.color.gray_lite));
setTextColor(getResources().getColor(R.color.gray_medium));
setPadding(UnitConverter.dpToPxH(8), getPaddingTop(), getPaddingRight(), getPaddingBottom());
}
}

正在加载...
取消
保存