public void replaceRightView(View v) { int f = LinearLayout.LayoutParams.MATCH_PARENT; LinearLayout.LayoutParams params = new LinearLayout.LayoutPa...
分类:
其他好文 时间:
2015-07-01 14:08:01
阅读次数:
118
下面是布局文件里的代码,有两个TextView,但是为什么运行后只显示第一个TextView?? 1 2 6 10 11 15 16 解决办法:android:layout_width="match_parent" android:layout_height="m...
分类:
系统相关 时间:
2015-06-26 16:15:11
阅读次数:
167
<?xmlversion="1.0"encoding="utf-8"?>
<FrameLayoutxmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/view_compass"
android:layout_..
分类:
移动开发 时间:
2015-06-26 15:09:20
阅读次数:
219
xml文件代码部分<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
>
<Image..
分类:
移动开发 时间:
2015-06-25 21:23:55
阅读次数:
170
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".MainActivity" ...
分类:
其他好文 时间:
2015-06-25 17:35:24
阅读次数:
115
activity_main.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layou...
分类:
移动开发 时间:
2015-06-23 21:43:43
阅读次数:
178
xml文件<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="5dp"
&g..
分类:
移动开发 时间:
2015-06-23 18:12:19
阅读次数:
144
xml文件代码部分<RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="10dp"
>
<EditText
a..
分类:
移动开发 时间:
2015-06-19 21:39:20
阅读次数:
180
xml中的代码实现<RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="20dp"
>
<TextView
and..
分类:
移动开发 时间:
2015-06-19 13:40:55
阅读次数:
152
??1 布局文件, LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layou...
分类:
移动开发 时间:
2015-06-19 01:31:50
阅读次数:
137