當前位置:首頁 » 安卓系統 » 時間軸android

時間軸android

發布時間: 2023-01-08 18:40:39

安卓手機雲便簽備忘錄時間軸怎麼查看單條內容記錄詳情

一、打開安卓手機雲便簽備忘錄,點擊界面底部「時間」按鈕,在時間列表上方右側找到「時間軸」並點擊;

二、進入便簽時間軸頁面,默認可以查看到個人便簽中所有新增、修改及刪除的個人便簽內容記錄;

三、找到要查看詳情的便簽記錄直接點擊,也可以長按或者左滑並在彈出的操作菜單中選擇「詳情」;

四、打開該條便簽內容詳情頁面,會顯示該條內容詳情信息,點擊左下角的復制按鈕,可對便簽文字進行復制;

五、如果查看的是未刪除的便簽內容記錄,還可以在時間詳情右下角顯示的按鈕,跳轉查看便簽內容列表中的該條便簽內容詳情,對其進行標記完成或編輯修改等操作。

註:

1. 對便簽內容的提醒時間及顏色等修改設置,不會顯示在時間軸修改記錄中;

2. 在安卓版雲便簽時間軸列表中,不僅可以查看單條內容記錄詳情,還可以對其進行復制或者刪除操作。

㈡ android 時間軸怎麼實現的

沒什麼好說的,直接上代碼吧!相信你能看懂

1.時間軸item的布局文件

java"><?xmlversion="1.0"encoding="utf-8"?>
<RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<LinearLayout
android:id="@+id/left"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">

<View
android:layout_width="1dp"
android:layout_height="25dp"
android:layout_marginLeft="60dp"
android:background="#A6A6A6"/>

<ImageView
android:id="@+id/left_imageview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="50dp"
android:src="@drawable/medicalcheck2"/>

<View
android:layout_width="1dp"
android:layout_height="25dp"
android:layout_marginLeft="60dp"
android:background="#A6A6A6"/>
</LinearLayout>

<LinearLayout
android:layout_alignLeft="@id/left"
android:layout_width="match_parent"
android:layout_height="70dp"
android:orientation="vertical"
android:gravity="center"
android:layout_marginLeft="100dp">

<TextView
android:id="@+id/right_textview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="aaa"/>
</LinearLayout>

</RelativeLayout>

2.圖片和文字的model

packagecom.sfe.thea.guo.model;


publicclassTimeLineModel{

privateintimageview;
privateStringtext;

publicintgetImageview(){
returnimageview;
}

publicvoidsetImageview(intimageview){
this.imageview=imageview;
}

publicStringgetText(){
returntext;
}

publicvoidsetText(Stringtext){
this.text=text;
}

publicTimeLineModel(intimageview,Stringtext){
super();
this.imageview=imageview;
this.text=text;
}

}

3時間軸的適配器

packagecom.sfe.thea.guo.adapter;

importjava.util.List;

importcom.sfe.thea.guo.R;
importcom.sfe.thea.guo.model.TimeLineModel;

importandroid.content.Context;
importandroid.view.LayoutInflater;
importandroid.view.View;
importandroid.view.ViewGroup;
importandroid.widget.BaseAdapter;
importandroid.widget.ImageView;
importandroid.widget.TextView;

{

Contextcontext;
List<TimeLineModel>list;

publicTimeLineAdapter(Contextcontext,List<TimeLineModel>list){
super();
this.context=context;
this.list=list;
}

@Override
publicintgetCount(){
if(list!=null){
returnlist.size();
}
return0;
}

@Override
publicObjectgetItem(intposition){
if(list!=null){
returnlist.get(position);
}
returnnull;
}

@Override
publiclonggetItemId(intposition){
returnposition;
}

@Override
publicViewgetView(intposition,ViewconvertView,ViewGroupparent){
ViewHoldhold;
if(convertView==null){
hold=newViewHold();
convertView=LayoutInflater.from(context).inflate(R.layout.timeline_item,null);
convertView.setTag(hold);
}else{
hold=(ViewHold)convertView.getTag();
}
hold.imageView=(ImageView)convertView.findViewById(R.id.left_imageview);
hold.show=(TextView)convertView.findViewById(R.id.right_textview);

hold.imageView.setImageResource(list.get(position).getImageview());
hold.show.setText(list.get(position).getText());
returnconvertView;
}

staticclassViewHold{
publicTextViewshow;
publicImageViewimageView;
}

}

㈢ android 時間軸怎麼實現的用 listview 還是 scrollView

<?xmlversion="1.0"encoding="utf-8"?>
<RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#f7f7f7">

<RelativeLayout
android:id="@+id/date_layout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingBottom="10dp"
android:paddingTop="10dp">

<TextView
android:id="@+id/time_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="2014年10月"
android:textColor="@android:color/black"/>
</RelativeLayout>

<View
android:id="@+id/top_line"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_below="@id/date_layout"
android:background="@color/head_line_bg"/>

<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_below="@id/top_line">

<View
android:id="@+id/group_tiao"
android:layout_width="1dp"
android:layout_height="fill_parent"
android:layout_marginLeft="55dp"
android:background="@color/time_line_bg"/>

<TextView
android:id="@+id/courses_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:layout_marginLeft="70dp"
android:layout_marginTop="10dp"
android:text="時光軸"
android:textColor="@android:color/black"
android:textSize="22dp"/>

<ExpandableListView
android:id="@+id/expandlist"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_below="@+id/courses_title"
android:cacheColorHint="#00000000"
android:divider="@null"/>
</RelativeLayout>

</RelativeLayout>

㈣ Android 橫向時間軸怎麼做啊,類似於下圖所示的,哪位大神幫幫忙,跪求啊!

你好 做出來了么 我也遇到了求助

㈤ android UI實現 PopupWindow填充布局時間軸是如何實現布局的

這個有點復雜,要做好不容易,你可以用eclipse自帶的

來分析,只要手機停在此界面,再點這個按鈕就好了。

熱點內容
安卓夏日傳說存檔放哪個文件 發布:2025-05-17 06:12:44 瀏覽:605
如何通過伺服器id找到主人 發布:2025-05-17 06:12:11 瀏覽:36
ug編程吧 發布:2025-05-17 06:07:45 瀏覽:71
sql臨時表和表變數 發布:2025-05-17 06:02:38 瀏覽:723
蘋果如何用安卓無線耳機 發布:2025-05-17 06:01:53 瀏覽:821
sqlserver表關系 發布:2025-05-17 06:01:02 瀏覽:996
2017途觀配置什麼音響 發布:2025-05-17 05:53:50 瀏覽:843
64位安裝sql2000 發布:2025-05-17 05:33:17 瀏覽:845
安卓手機屏幕儀哪個好 發布:2025-05-17 05:33:16 瀏覽:592
加密的備忘錄 發布:2025-05-17 05:32:30 瀏覽:743