Project

General

Profile

« Previous | Next » 

Revision c658e742

Added by Leszek Koltunski almost 7 years ago

Add quality levels in Glow APP.

View differences:

src/main/res/layout/glowlayout.xml
60 60
                android:paddingRight="10dp" />
61 61
    </LinearLayout>
62 62

  
63
    <LinearLayout
64
        android:id="@+id/linearLayout3"
65
        android:layout_width="fill_parent"
66
        android:layout_height="wrap_content"
67
        android:gravity="center|fill_horizontal"
68
        android:orientation="horizontal"
69
        android:background="@color/blue"
70
        android:paddingBottom="10dp"
71
        android:paddingTop="10dp" >
72

  
73
        <RadioGroup
74
            android:id="@+id/glowRadioGroup"
75
            android:layout_width="match_parent"
76
            android:layout_height="wrap_content"
77
            android:orientation="horizontal">
78

  
79
            <RadioButton
80
                android:id="@+id/glowRadioQuality0"
81
                android:layout_width="match_parent"
82
                android:layout_height="wrap_content"
83
                android:layout_weight="1"
84
                android:checked="true"
85
                android:onClick="quality0"
86
                android:text="@string/quality0"
87
                android:textSize="14sp"/>
88

  
89
            <RadioButton
90
                android:id="@+id/glowRadioQuality1"
91
                android:layout_width="match_parent"
92
                android:layout_height="wrap_content"
93
                android:layout_weight="1"
94
                android:onClick="quality1"
95
                android:text="@string/quality1"
96
                android:textSize="14sp"/>
97

  
98
            <RadioButton
99
                android:id="@+id/glowRadioQuality2"
100
                android:layout_width="match_parent"
101
                android:layout_height="wrap_content"
102
                android:layout_weight="1"
103
                android:onClick="quality2"
104
                android:text="@string/quality2"
105
                android:textSize="14sp"/>
106

  
107
            <RadioButton
108
                android:id="@+id/glowRadioQuality3"
109
                android:layout_width="match_parent"
110
                android:layout_height="wrap_content"
111
                android:layout_weight="1"
112
                android:onClick="quality3"
113
                android:text="@string/quality3"
114
                android:textSize="14sp"/>
115

  
116
        </RadioGroup>
117

  
118
    </LinearLayout>
119

  
63 120
</LinearLayout>

Also available in: Unified diff