I use Android Studio to write my application, the following code is my layout file, but sometimes the Android Studio editor displays A.png and sometimes displayed B.png, this means that someday the system will replace android:text="@string/myabout" to the real string" O ", but I donβt know how to switch to the user interface.
And yet, how can I change the color of the android:text="@string/myabout" code android:text="@string/myabout" and android:text="Hard Code" ? You know that File-> Settings β Editor is a huge tree, I canβt find which elements I want to edit.
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/border_ui" android:orientation="vertical" > <TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/myabout" /> <TextView android:id="@+id/textView2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Hard Code" /> </RelativeLayout>
A.png

B.png 
source share