原本是可以体现国际化的,由于我的电脑有问题,只能体现到这里了
附上部分代码
<RelativeLayout android:layout_weight="1" style="@style/lsq_wrap_content" android:layout_marginTop="10dp"> <TextView style="@style/lsq_style" android:layout_alignParentLeft="true" android:layout_marginLeft="10dp" android:drawableTop="@drawable/clound" android:text="@string/_cloud" /> <TextView style="@style/lsq_style" android:layout_alignParentRight="true" android:layout_marginRight="10dp" android:drawableTop="@drawable/bluetooth" android:text="@string/_bluetooth" /> </RelativeLayout> <RelativeLayout android:layout_weight="1" style="@style/lsq_wrap_content" android:layout_marginTop="10dp"> <TextView style="@style/lsq_style" android:layout_alignParentLeft="true" android:layout_marginLeft="10dp" android:drawableTop="@drawable/gesture" android:text="@string/_gesture" /> <TextView style="@style/lsq_style" android:layout_alignParentRight="true" android:layout_marginRight="10dp" android:drawableTop="@drawable/gps" android:text="@string/_gps" /> </RelativeLayout> <RelativeLayout android:layout_weight="1" style="@style/lsq_wrap_content" android:layout_marginTop="10dp"> <TextView style="@style/lsq_style" android:layout_alignParentLeft="true" android:layout_marginLeft="10dp" android:drawableTop="@drawable/info" android:text="@string/_system_info" /> <TextView style="@style/lsq_style" android:layout_alignParentRight="true" android:layout_marginRight="10dp" android:drawableTop="@drawable/internet" android:text="@string/_internet" /> </RelativeLayout> <RelativeLayout android:layout_weight="1" style="@style/lsq_wrap_content" android:layout_marginTop="5dp"> <TextView style="@style/lsq_style" android:layout_alignParentRight="true" android:layout_marginRight="10dp" android:drawableTop="@drawable/notifycation" android:text="@string/_set_notifycation" android:id="@+id/textView" /> <TextView style="@style/lsq_style" android:drawableTop="@drawable/language" android:text="@string/_language" android:layout_alignLeft="@+id/textView" android:layout_alignParentLeft="true" android:id="@+id/textView2" /> </RelativeLayout> </LinearLayout>总体布局是按照指导老师的思路走的,还有待改进