Revision de44c2b4
Added by Leszek Koltunski over 4 years ago
src/main/java/org/distorted/uistate/RubikStatePattern.java | ||
---|---|---|
103 | 103 |
// TOP //////////////////////////// |
104 | 104 |
LinearLayout layoutTop = act.findViewById(R.id.mainTitle); |
105 | 105 |
layoutTop.removeAllViews(); |
106 |
mText = (TextView)inflater.inflate(R.layout.upper_text, null); |
|
106 |
mText = (TextView)inflater.inflate(R.layout.upper_pattern_text, null);
|
|
107 | 107 |
mText.setText(R.string.patterns); |
108 | 108 |
layoutTop.addView(mText); |
109 | 109 |
|
src/main/res/layout/upper_pattern_text.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8"?> |
|
2 |
<TextView xmlns:android="http://schemas.android.com/apk/res/android" |
|
3 |
android:layout_width="fill_parent" |
|
4 |
android:layout_height="50dp" |
|
5 |
android:textAlignment="center" |
|
6 |
android:paddingLeft="10dp" |
|
7 |
android:paddingRight="10dp" |
|
8 |
android:autoSizeTextType="uniform" |
|
9 |
android:textSize="26sp"/> |
src/main/res/layout/upper_text.xml | ||
---|---|---|
5 | 5 |
android:textAlignment="center" |
6 | 6 |
android:paddingLeft="10dp" |
7 | 7 |
android:paddingRight="10dp" |
8 |
android:autoSizeTextType="uniform" |
|
9 |
android:textSize="30sp"/> |
|
8 |
android:textSize="28sp"/> |
Also available in: Unified diff
Minor.