File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8383 android : clickable =" false" />
8484
8585 </RelativeLayout >
86+
87+ <RelativeLayout
88+ android : id =" @+id/settings_max_size_holder"
89+ android : layout_width =" match_parent"
90+ android : layout_height =" wrap_content"
91+ android : layout_marginTop =" @dimen/settings_padding"
92+ android : background =" ?android:attr/selectableItemBackground"
93+ android : padding =" @dimen/activity_margin" >
94+
95+ <TextView
96+ android : id =" @+id/settings_max_size_label"
97+ android : layout_width =" wrap_content"
98+ android : layout_height =" wrap_content"
99+ android : layout_centerVertical =" true"
100+ android : paddingLeft =" @dimen/settings_padding"
101+ android : text =" @string/max_size" />
102+
103+ <android .support.v7.widget.AppCompatSpinner
104+ android : id =" @+id/settings_max_size"
105+ android : layout_width =" wrap_content"
106+ android : layout_height =" wrap_content"
107+ android : layout_alignParentRight =" true"
108+ android : entries =" @array/max_sizes" />
109+
110+ </RelativeLayout >
86111</LinearLayout >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <resources >
3+ <string-array name =" max_sizes" >
4+ <item >5 MP</item >
5+ <item >8 MP</item >
6+ <item >@string/no_limit</item >
7+ </string-array >
8+ </resources >
Original file line number Diff line number Diff line change 1717 <string name =" long_tap_capture" >Long tap to capture</string >
1818 <string name =" focus_before_capture" >Refocus before capture</string >
1919 <string name =" force_ratio" >Force 16:9 ratio</string >
20+ <string name =" max_size" >Photo resolution limit</string >
21+ <string name =" no_limit" >none</string >
2022
2123 <!-- About -->
2224 <string name =" about" >About</string >
Original file line number Diff line number Diff line change 77 <item name =" colorPrimaryDark" >@color/colorPrimaryDark</item >
88 <item name =" colorAccent" >@color/colorAccent</item >
99 <item name =" actionBarStyle" >@style/AppTheme.ActionBarStyle</item >
10+ <item name =" android:spinnerItemStyle" >@style/SpinnerItem</item >
11+ <item name =" spinnerDropDownItemStyle" >@style/SpinnerItem.DropDownItem</item >
12+ <item name =" android:spinnerDropDownItemStyle" >@style/SpinnerItem.DropDownItem</item >
1013 </style >
1114
1215 <style name =" FullScreenTheme" parent =" AppTheme.Base" />
2023 <item name =" android:fontFamily" >sans-serif</item >
2124 <item name =" android:textSize" >20sp</item >
2225 </style >
26+
27+ <style name =" SpinnerItem" parent =" @android:style/Widget.TextView" />
28+
29+ <style name =" SpinnerItem.DropDownItem" parent =" @android:style/Widget.TextView" >
30+ <item name =" android:layout_centerInParent" >true</item >
31+ <item name =" android:padding" >@dimen/activity_margin</item >
32+ </style >
33+
2334</resources >
You can’t perform that action at this time.
0 commit comments