摘要:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_ 阅读全文
摘要:
package com.example.q; import java.util.HashMap; import java.util.Map; import android.content.Context; import android.content.SharedPreferences; publi 阅读全文
摘要:
1、碎片是什么 碎片(Fragment)是一种可以嵌入在活动当中的UI片段,它能让程序更加合理和充分地利用大屏幕的空间,因而在平板上应用的非常广泛。虽然碎片对你来说应该是个全新的概念,但我相信你学习起来应该毫不费力,因为它和活动实在是太像了,同样都能包含布局,同样都有自己的生命周期。你甚至可以将碎片 阅读全文
摘要:
package com.example.data; import android.support.v7.app.ActionBarActivity; import android.view.View; import android.view.View.OnClickListener; import 阅读全文
摘要:
package com.example.qq; import android.support.v7.app.ActionBarActivity; import android.content.Intent; import android.os.Bundle; import android.view. 阅读全文
摘要:
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" 阅读全文
摘要:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/ly1" androi 阅读全文
摘要:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="wrap_c 阅读全文
摘要:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="wrap_c 阅读全文