Revision ad9e8bb3
Added by Leszek Koltunski over 4 years ago
src/main/java/org/distorted/uistate/RubikStateMain.java | ||
---|---|---|
23 | 23 |
import android.support.v4.app.FragmentManager; |
24 | 24 |
import android.util.DisplayMetrics; |
25 | 25 |
import android.view.LayoutInflater; |
26 |
import android.view.View; |
|
27 | 26 |
import android.widget.Button; |
28 | 27 |
import android.widget.LinearLayout; |
28 |
import android.widget.TextView; |
|
29 | 29 |
|
30 | 30 |
import org.distorted.dialog.RubikDialogMain; |
31 | 31 |
import org.distorted.magic.R; |
... | ... | |
70 | 70 |
// TOP //////////////////////////// |
71 | 71 |
LinearLayout layoutTop = act.findViewById(R.id.mainTitle); |
72 | 72 |
layoutTop.removeAllViews(); |
73 |
final View viewTop = inflater.inflate(R.layout.main_title, null); |
|
74 |
layoutTop.addView(viewTop); |
|
73 |
final TextView text = (TextView)inflater.inflate(R.layout.upper_text, null); |
|
74 |
text.setText(R.string.app_name); |
|
75 |
layoutTop.addView(text); |
|
75 | 76 |
|
76 | 77 |
// BOT //////////////////////////// |
77 | 78 |
LinearLayout layoutBot = act.findViewById(R.id.mainBar); |
Also available in: Unified diff
Beginnings of the 'Solving' state.