Project

General

Profile

« Previous | Next » 

Revision 876803e6

Added by Leszek Koltunski almost 2 years ago

Progress

View differences:

src/main/java/org/distorted/screens/RubikScreenPlay.java
125 125
    layoutTop.removeAllViews();
126 126
    TextView label = (TextView)inflater.inflate(R.layout.upper_text, null);
127 127
    label.setTextSize(TypedValue.COMPLEX_UNIT_PX, titleSize);
128
  //  label.setText(R.string.app_name);
128
    label.setText(R.string.app_name);
129 129
    layoutTop.addView(label);
130 130

  
131 131
    // BOTTOM /////////////////////////
132 132
    LinearLayout layoutBot = act.findViewById(R.id.lowerBar);
133 133
    layoutBot.removeAllViews();
134 134
    RelativeLayout relLayout = (RelativeLayout)inflater.inflate(R.layout.play_bottom_bar, null);
135
    //relLayout.setBackgroundColor(Color.parseColor("#000000"));
136 135
    layoutBot.addView(relLayout);
137 136

  
138 137
    TypedValue outValue = new TypedValue();
......
150 149
    paramsMid.height = (int)(mScreenHeight-mUpperBarHeight-mLowerBarHeight);
151 150
    hiddenView.setLayoutParams(paramsMid);
152 151

  
153
label.setText("s:"+mScreenHeight+" u:"+mUpperBarHeight+" l:"+mLowerBarHeight);
154

  
155 152
    ScrollView scroll = (ScrollView)inflater.inflate(R.layout.popup_object_simple, null);
156 153
    hiddenView.addView(scroll);
157 154

  
src/main/res/layout/play_bottom_bar.xml
2 2
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 3
       android:id="@+id/bottomLayout"
4 4
       android:layout_width="match_parent"
5
       android:layout_height="wrap_content"
5
       android:layout_height="match_parent"
6 6
       android:background="@android:color/transparent"
7
       android:paddingEnd="10dp"
8
       android:paddingStart="10dp">
7
       android:paddingTop="5dp"
8
       android:paddingEnd="15dp"
9
       android:paddingStart="15dp">
9 10

  
10 11
       <ImageButton
11 12
           android:id="@+id/buttonAbout"

Also available in: Unified diff