最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

Android Studio實(shí)現(xiàn)注冊頁面跳轉(zhuǎn)登錄頁面的創(chuàng)建

 更新時間:2022年05月17日 11:52:55   作者:miss writer  
這篇文章主要為大家詳細(xì)介紹了Android Studio實(shí)現(xiàn)注冊頁面跳轉(zhuǎn)登錄頁面的創(chuàng)建,文中示例代碼介紹的非常詳細(xì),具有一定的參考價值,感興趣的小伙伴們可以參考一下

本文是用來介紹Android Studio創(chuàng)建注冊頁面跳轉(zhuǎn)登錄頁面的界面設(shè)計(jì)以及跳轉(zhuǎn)功能地實(shí)現(xiàn),完整結(jié)構(gòu)見文章結(jié)尾。

用戶注冊界面

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
? ? xmlns:app="http://schemas.android.com/apk/res-auto"
? ? xmlns:tools="http://schemas.android.com/tools"
? ? android:id="@+id/CL"
? ? android:layout_width="match_parent"
? ? android:layout_height="match_parent"
? ? tools:context=".MainActivity">
<!---->

<!---->
? ? <TextView
? ? ? ? android:id="@+id/textView"
? ? ? ? android:layout_width="wrap_content"
? ? ? ? android:layout_height="wrap_content"
? ? ? ? android:layout_marginLeft="30dp"
? ? ? ? android:layout_marginTop="30dp"
? ? ? ? android:text="用戶名:"
? ? ? ? app:layout_constraintBottom_toBottomOf="parent"
? ? ? ? app:layout_constraintHorizontal_bias="0.047"
? ? ? ? app:layout_constraintLeft_toLeftOf="parent"
? ? ? ? app:layout_constraintRight_toRightOf="parent"
? ? ? ? app:layout_constraintTop_toTopOf="parent"
? ? ? ? app:layout_constraintVertical_bias="0.064" />

? ? <EditText
? ? ? ? android:id="@+id/et1"
? ? ? ? android:layout_width="wrap_content"
? ? ? ? android:layout_height="wrap_content"
? ? ? ? android:layout_marginStart="16dp"
? ? ? ? android:layout_marginLeft="16dp"
? ? ? ? android:layout_marginTop="72dp"
? ? ? ? android:ems="10"
? ? ? ? android:hint="請輸入你的用戶名"
? ? ? ? android:inputType="textPersonName"
? ? ? ? app:layout_constraintStart_toEndOf="@+id/textView"
? ? ? ? app:layout_constraintTop_toTopOf="parent" />

? ? <TextView
? ? ? ? android:id="@+id/textView2"
? ? ? ? android:layout_width="wrap_content"
? ? ? ? android:layout_height="wrap_content"
? ? ? ? android:layout_marginStart="56dp"
? ? ? ? android:layout_marginLeft="56dp"
? ? ? ? android:layout_marginTop="28dp"
? ? ? ? android:text="密碼:"
? ? ? ? app:layout_constraintStart_toStartOf="parent"
? ? ? ? app:layout_constraintTop_toBottomOf="@+id/et1" />

? ? <EditText
? ? ? ? android:id="@+id/et2"
? ? ? ? android:layout_width="wrap_content"
? ? ? ? android:layout_height="wrap_content"
? ? ? ? android:layout_marginStart="20dp"
? ? ? ? android:layout_marginLeft="20dp"
? ? ? ? android:layout_marginTop="30dp"
? ? ? ? android:ems="10"
? ? ? ? android:hint="請輸入你的密碼"
? ? ? ? android:inputType="textPassword"
? ? ? ? app:layout_constraintStart_toEndOf="@+id/textView2"
? ? ? ? app:layout_constraintTop_toBottomOf="@+id/et1" />

? ? <TextView
? ? ? ? android:id="@+id/textView3"
? ? ? ? android:layout_width="wrap_content"
? ? ? ? android:layout_height="wrap_content"
? ? ? ? android:layout_marginStart="28dp"
? ? ? ? android:layout_marginLeft="28dp"
? ? ? ? android:layout_marginTop="24dp"
? ? ? ? android:text="性別"
? ? ? ? app:layout_constraintStart_toStartOf="parent"
? ? ? ? app:layout_constraintTop_toBottomOf="@+id/et2" />

? ? <RadioGroup
? ? ? ? android:id="@+id/rg"
? ? ? ? android:layout_width="wrap_content"
? ? ? ? android:layout_height="wrap_content"
? ? ? ? android:layout_marginStart="30dp"
? ? ? ? android:layout_marginLeft="30dp"
? ? ? ? android:layout_marginTop="60dp"
? ? ? ? android:orientation="horizontal"
? ? ? ? app:layout_constraintStart_toStartOf="parent"
? ? ? ? app:layout_constraintTop_toBottomOf="@+id/et2">

? ? ? ? <RadioButton
? ? ? ? ? ? android:id="@+id/rb1"
? ? ? ? ? ? android:layout_width="match_parent"
? ? ? ? ? ? android:layout_height="wrap_content"
? ? ? ? ? ? android:text="男" />

? ? ? ? <RadioButton
? ? ? ? ? ? android:id="@+id/rb2"
? ? ? ? ? ? android:layout_width="match_parent"
? ? ? ? ? ? android:layout_height="wrap_content"
? ? ? ? ? ? android:text="女" />
? ? </RadioGroup>

? ? <TextView
? ? ? ? android:id="@+id/textView4"
? ? ? ? android:layout_width="wrap_content"
? ? ? ? android:layout_height="wrap_content"
? ? ? ? android:layout_marginStart="30dp"
? ? ? ? android:layout_marginLeft="30dp"
? ? ? ? android:layout_marginTop="30dp"
? ? ? ? android:text="興趣愛好"
? ? ? ? app:layout_constraintStart_toStartOf="parent"
? ? ? ? app:layout_constraintTop_toBottomOf="@+id/rg" />

? ? <CheckBox
? ? ? ? android:id="@+id/cb1"
? ? ? ? android:layout_width="wrap_content"
? ? ? ? android:layout_height="wrap_content"
? ? ? ? android:layout_marginStart="28dp"
? ? ? ? android:layout_marginLeft="28dp"
? ? ? ? android:layout_marginTop="16dp"
? ? ? ? android:text="游戲編程"
? ? ? ? app:layout_constraintStart_toStartOf="parent"
? ? ? ? app:layout_constraintTop_toBottomOf="@+id/textView4" />

? ? <CheckBox
? ? ? ? android:id="@+id/cb2"
? ? ? ? android:layout_width="wrap_content"
? ? ? ? android:layout_height="wrap_content"
? ? ? ? android:layout_marginStart="28dp"
? ? ? ? android:layout_marginLeft="28dp"
? ? ? ? android:text="王者榮耀"
? ? ? ? app:layout_constraintStart_toStartOf="parent"
? ? ? ? app:layout_constraintTop_toBottomOf="@+id/cb1" />

? ? <CheckBox
? ? ? ? android:id="@+id/cb3"
? ? ? ? android:layout_width="wrap_content"
? ? ? ? android:layout_height="wrap_content"
? ? ? ? android:layout_marginStart="28dp"
? ? ? ? android:layout_marginLeft="28dp"
? ? ? ? android:text="看《覺醒年代》"
? ? ? ? app:layout_constraintStart_toStartOf="parent"
? ? ? ? app:layout_constraintTop_toBottomOf="@+id/cb2" />

? ? <Button
? ? ? ? android:id="@+id/button"
? ? ? ? android:layout_width="wrap_content"
? ? ? ? android:layout_height="wrap_content"
? ? ? ? android:layout_marginTop="36dp"
? ? ? ? android:text="注冊"
? ? ? ? app:layout_constraintEnd_toEndOf="parent"
? ? ? ? app:layout_constraintHorizontal_bias="0.498"
? ? ? ? app:layout_constraintStart_toStartOf="parent"
? ? ? ? app:layout_constraintTop_toBottomOf="@+id/cb3" />

? ? <TextView
? ? ? ? android:id="@+id/tv"
? ? ? ? android:layout_width="wrap_content"
? ? ? ? android:layout_height="wrap_content"
? ? ? ? android:layout_marginTop="40dp"
? ? ? ? android:text="執(zhí)行結(jié)果"
? ? ? ? app:layout_constraintEnd_toEndOf="parent"
? ? ? ? app:layout_constraintStart_toStartOf="parent"
? ? ? ? app:layout_constraintTop_toBottomOf="@+id/button" />


</androidx.constraintlayout.widget.ConstraintLayout>

用戶登錄界面

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
? ? xmlns:xmlna="http://schemas.android.com/apk/res-auto"
? ? android:orientation="vertical"
? ? android:layout_width="fill_parent"
? ? android:layout_height="fill_parent"
? ? android:background="#F1EAF3">

? ? ? ? <com.example.myapplication1.TitleLayout
? ? ? ? ? ? android:layout_width="match_parent"
? ? ? ? ? ? android:layout_height="wrap_content"/>
? ? <TextView
? ? ? ? android:layout_width="fill_parent"
? ? ? ? android:layout_height="90dp"
? ? ? ? android:text="登 錄 界 面"
? ? ? ? android:textColor="#232121"
? ? ? ? android:textSize="40dp"
? ? ? ? android:gravity="center">
? ? </TextView>

? ? <LinearLayout
? ? ? ? android:orientation="vertical"
? ? ? ? android:layout_width="fill_parent"
? ? ? ? android:layout_height="wrap_content"
? ? ? ? android:background="#F1EAF3"
? ? ? ? android:paddingLeft="5dip"
? ? ? ? android:paddingRight="5dip"
? ? ? ? android:paddingTop="5dip">

? ? ? ? <LinearLayout
? ? ? ? ? ? android:id="@+id/LinearLayout1"
? ? ? ? ? ? android:orientation="horizontal"
? ? ? ? ? ? android:layout_width="fill_parent"
? ? ? ? ? ? android:layout_height="fill_parent">

? ? ? ? ? ? <TextView
? ? ? ? ? ? ? ? android:id="@+id/TextView2"
? ? ? ? ? ? ? ? android:layout_width="wrap_content"
? ? ? ? ? ? ? ? android:layout_height="40dip"
? ? ? ? ? ? ? ? android:layout_marginLeft="5dip"
? ? ? ? ? ? ? ? android:textSize="23dip"
? ? ? ? ? ? ? ? android:gravity="center_vertical"
? ? ? ? ? ? ? ? android:background="#F0E1F3"
? ? ? ? ? ? ? ? android:text="用戶名:">
? ? ? ? ? ? </TextView>

? ? ? ? ? ? <EditText
? ? ? ? ? ? ? ? android:id="@+id/EditTextuid"
? ? ? ? ? ? ? ? android:layout_width="fill_parent"
? ? ? ? ? ? ? ? android:layout_height="wrap_content"
? ? ? ? ? ? ? ? android:singleLine="true"
? ? ? ? ? ? ? ? android:layout_marginLeft="0dip"
? ? ? ? ? ? ? ? android:text=""
? ? ? ? ? ? ? ? android:textSize="23dip">
? ? ? ? ? ? </EditText>

? ? ? ? </LinearLayout>

? ? ? ? <LinearLayout
? ? ? ? ? ? android:id="@+id/LinearLayout2"
? ? ? ? ? ? android:layout_width="fill_parent"
? ? ? ? ? ? android:layout_height="wrap_content"
? ? ? ? ? ? android:orientation="horizontal">

? ? ? ? ? ? <TextView
? ? ? ? ? ? ? ? android:id="@+id/TextView3"
? ? ? ? ? ? ? ? android:layout_width="wrap_content"
? ? ? ? ? ? ? ? android:layout_height="40dip"
? ? ? ? ? ? ? ? android:layout_marginLeft="5dip"
? ? ? ? ? ? ? ? android:textSize="23dip"
? ? ? ? ? ? ? ? android:gravity="center_vertical"
? ? ? ? ? ? ? ? android:background="#F0E1F3"
? ? ? ? ? ? ? ? android:text="密 ? ? 碼:">
? ? ? ? ? ? </TextView>

? ? ? ? ? ? <EditText
? ? ? ? ? ? ? ? android:id="@+id/EditTextPwd"
? ? ? ? ? ? ? ? android:layout_width="fill_parent"
? ? ? ? ? ? ? ? android:layout_height="wrap_content"
? ? ? ? ? ? ? ? android:singleLine="true"
? ? ? ? ? ? ? ? android:text="LING"
? ? ? ? ? ? ? ? android:textSize="23dip">
? ? ? ? ? ? </EditText>

? ? ? ? </LinearLayout>

? ? ? ? <LinearLayout
? ? ? ? ? ? android:id="@+id/LinearLayout3"
? ? ? ? ? ? android:layout_width="fill_parent"
? ? ? ? ? ? android:layout_height="wrap_content"
? ? ? ? ? ? android:orientation="horizontal">

? ? ? ? ? ? <Button
? ? ? ? ? ? ? ? android:id="@+id/loginLog"
? ? ? ? ? ? ? ? android:layout_width="wrap_content"
? ? ? ? ? ? ? ? android:layout_height="wrap_content"
? ? ? ? ? ? ? ? android:textSize="23dip"
? ? ? ? ? ? ? ? android:background="#E8CCEA"
? ? ? ? ? ? ? ? android:layout_weight="1"
? ? ? ? ? ? ? ? android:text="登 ? 錄">
? ? ? ? ? ? </Button>

? ? ? ? ? ? <Button
? ? ? ? ? ? ? ? android:id="@+id/loginClear"
? ? ? ? ? ? ? ? android:layout_width="wrap_content"
? ? ? ? ? ? ? ? android:layout_height="wrap_content"
? ? ? ? ? ? ? ? android:textSize="23dip"
? ? ? ? ? ? ? ? android:background="#D1B8D3"
? ? ? ? ? ? ? ? android:layout_weight="1"
? ? ? ? ? ? ? ? android:text="清 ? 空">
? ? ? ? ? ? </Button>

? ? ? ? </LinearLayout>

? ? </LinearLayout>

? ? <TextView
? ? ? ? android:id="@+id/all"
? ? ? ? android:layout_width="match_parent"
? ? ? ? android:layout_height="wrap_content"
? ? ? ? android:text="歡迎"
? ? ? ? android:textSize="20sp"/>
</LinearLayout>

java代碼實(shí)現(xiàn)跳轉(zhuǎn)

package com.example.myapplication1;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.EditText;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.TextView;

import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity implements View.OnClickListener,RadioGroup.OnCheckedChangeListener, CompoundButton.OnCheckedChangeListener{
? ? private Button zc;//聲明注冊按鈕的變量
? ? RadioGroup rg;//聲明單選組的變量
? ? RadioButton rb1,rb2;//聲明單選1,單選2的變量
? ? CheckBox cb1,cb2,cb3;//聲明復(fù)選框1,2,3的變量
? ? EditText et1,et2;聲明輸入文本框1,2的變量
? ? TextView tv,txtage,txtall;//聲明結(jié)果文本的變量


? ? @Override
? ? protected void onCreate(Bundle savedInstanceState) {
? ? ? ? super.onCreate(savedInstanceState);
? ? ? ? setContentView(R.layout.activity_main);

? ? ? ? //屏蔽系統(tǒng)自帶
? ? ? ? ActionBar actionBar = getSupportActionBar();
? ? ? ? if(actionBar != null){
? ? ? ? ? ? actionBar.hide();}

? ? ? ? zc=findViewById(R.id.button);//尋找注冊按鈕id
? ? ? ? zc.setOnClickListener(this);//給注冊按鈕安裝監(jiān)聽器

? ? ? ? rg=findViewById(R.id.rg);//尋找單選組控件id
? ? ? ? rg.setOnCheckedChangeListener(this);//給單選組安裝監(jiān)聽器
? ? ? ? rb1=findViewById(R.id.rb1);//尋找單選控件1id
? ? ? ? rb1.setOnCheckedChangeListener(this);//給單選控件1安裝監(jiān)聽器
? ? ? ? rb2=findViewById(R.id.rb2);//尋找單選控件2id
? ? ? ? rb2.setOnCheckedChangeListener(this);//給單選控件2安裝監(jiān)聽器

? ? ? ? //txtage=(TextView)findViewById(R.id.age);

? ? ? ? cb1=findViewById(R.id.cb1);//尋找復(fù)選框1控件id
? ? ? ? cb1.setOnCheckedChangeListener(this);//給復(fù)選框控件1安裝監(jiān)聽器
? ? ? ? cb2=findViewById(R.id.cb2);//尋找復(fù)選框2控件id
? ? ? ? cb2.setOnCheckedChangeListener(this);//給復(fù)選框控件2安裝監(jiān)聽器
? ? ? ? cb3=findViewById(R.id.cb3);//尋找復(fù)選框3控件id
? ? ? ? cb3.setOnCheckedChangeListener(this);//給復(fù)選框控件3安裝監(jiān)聽器

? ? ? ? et1=findViewById(R.id.et1);//尋找輸入框1控件id
? ? ? ? et2=findViewById(R.id.et2);//尋找輸入框2控件id
? ? ? ? tv=findViewById(R.id.tv);//尋找輸入框2控件id

? ? }


? ? //實(shí)現(xiàn)選項(xiàng)按鈕組交互功能
? ? @Override
? ? public void onCheckedChanged(RadioGroup group, int checkedId) {
? ? ? ? switch (checkedId){
? ? ? ? ? ? case R.id.rb1:
? ? ? ? ? ? ? ? System.out.println(rb1.getText().toString());
? ? ? ? ? ? ? ? break;

? ? ? ? ? ? case R.id.rb2:
? ? ? ? ? ? ? ? System.out.println(rb2.getText().toString());
? ? ? ? ? ? ? ? break;

? ? ? ? }
? ? }

? ? //實(shí)現(xiàn)復(fù)選框交互功能
? ? @Override ? ? ? ? ? ? ? ? ? ? ?//CompoundButton選中或未選中按鈕
? ? public void onCheckedChanged(CompoundButton CompoundButton, boolean b) {
? ? ? ? switch (CompoundButton.getId()) //得到選中或未選中按鈕id
? ? ? ? {
? ? ? ? ? ? case R.id.cb1: //復(fù)選框1id
? ? ? ? ? ? ? ? if (b==true)//判斷復(fù)選框1是否為真
? ? ? ? ? ? ? ? ? ? System.out.println(cb1.getText().toString());
? ? ? ? ? ? ? ? //如果是真執(zhí)行復(fù)選框按鈕輸出的結(jié)果是得到該文本(cb1對應(yīng)的text屬性文本字符串)字符串
? ? ? ? ? ? ? ? break;
? ? ? ? ? ? case R.id.cb2:
? ? ? ? ? ? ? ? if (b==true)
? ? ? ? ? ? ? ? ? ? System.out.println(cb2.getText().toString());
? ? ? ? ? ? ? ? break;

? ? ? ? ? ? case R.id.cb3:
? ? ? ? ? ? ? ? if (b==true)
? ? ? ? ? ? ? ? ? ? System.out.println(cb3.getText().toString());
? ? ? ? ? ? ? ? break;
? ? ? ? }
? ? }

? ? //注冊按鈕實(shí)現(xiàn)交互功能
? ? @Override
? ? public void ?onClick(View view){
? ? ? ? String strname=et1.getText().toString();//獲取用戶名(ID綁定用戶名)
? ? ? ? String strPassword=et2.getText().toString();//獲取密碼(ID綁定密碼)
? ? ? ? //
? ? ? ? ? ? ? ? int age;
? ? ? ? ? ? ? ? CharSequence str="";
? ? ? ? ? ? ? ? if(rb1.isChecked())
? ? ? ? ? ? ? ? ? ? str=rb1.getText();
? ? ? ? ? ? ? ? if(rb2.isChecked())
? ? ? ? ? ? ? ? ? ? str=rb2.getText();

? ? ? ? ? ? ? ? String str1="";
? ? ? ? ? ? ? ? if (cb1.isChecked()) str1=str1+"\n"+cb1.getText();
? ? ? ? ? ? ? ? if (cb2.isChecked()) str1=str1+"\n"+cb2.getText();
? ? ? ? ? ? ? ? if (cb3.isChecked()) str1=str1+"\n"+cb3.getText();

? ? ? ? //
? ? ? ? if (strname.equals(" ")||strPassword.equals(""))//判斷用戶名是否等于""并且滿足密碼等于""
? ? ? ? ? ? tv.setText("注冊失敗,請重新修改信息后再來注冊");//否則執(zhí)行結(jié)果文本框輸出內(nèi)容為"注冊失敗,請重新修改信息后再來注冊"
? ? ? ? else
? ? ? ? {
? ? ? ? ? ? tv.setText(strname+"注冊成功");//如果滿足條件的話執(zhí)行結(jié)果文本框輸出內(nèi)容為"注冊成功"
? ? ? ? ? ? ?Intent intent=new Intent(MainActivity.this, success.class);
? ? ? ? ? ? ?intent.putExtra("strname",strname);
? ? ? ? ? ? ?intent.putExtra("strPassword",strPassword);
? ? ? ? ? ? //intent.putExtra("strname",strname);
? ? ? ? ? ? intent.putExtra("sex",str);
? ? ? ? ? ? intent.putExtra("str1",str1);
? ? ? ? ? ? startActivity(intent);
? ? ? ? }
? ? }
}

以上就是本文的全部內(nèi)容,希望對大家的學(xué)習(xí)有所幫助,也希望大家多多支持腳本之家。

相關(guān)文章

  • Android圖表庫HelloCharts的實(shí)例詳解

    Android圖表庫HelloCharts的實(shí)例詳解

    這篇文章主要介紹了Android中的圖標(biāo)庫HelloCharts的一些簡單使用實(shí)例,文中的示例代碼講解詳細(xì),對我們學(xué)習(xí)有一定的參考價值,需要的可以參考一下
    2022-01-01
  • Android實(shí)現(xiàn)滑動加載數(shù)據(jù)的方法

    Android實(shí)現(xiàn)滑動加載數(shù)據(jù)的方法

    這篇文章主要介紹了Android實(shí)現(xiàn)滑動加載數(shù)據(jù)的方法,實(shí)例分析了Android通過滑動實(shí)現(xiàn)動態(tài)加載數(shù)據(jù)的技巧,具有一定參考借鑒價值,需要的朋友可以參考下
    2015-07-07
  • Android Studio格式化(Format)代碼快捷鍵介紹

    Android Studio格式化(Format)代碼快捷鍵介紹

    這篇文章主要介紹了Android Studio格式化(Format)代碼快捷鍵,具有很好的參考價值,希望對大家有所幫助。如有錯誤或未考慮完全的地方,望不吝賜教
    2023-01-01
  • Android RecyclerView 實(shí)現(xiàn)快速滾動的示例代碼

    Android RecyclerView 實(shí)現(xiàn)快速滾動的示例代碼

    本篇文章主要介紹了Android RecyclerView 實(shí)現(xiàn)快速滾動的示例代碼,具有一定的參考價值,有興趣的可以了解一下
    2017-09-09
  • Android Studio 打包生成APK文件方法

    Android Studio 打包生成APK文件方法

    Android Studio是谷歌推出一個Android集成開發(fā)工具,基于IntelliJ IDEA。這篇文章主要介紹了Android Studio 打包生成APK文件方法,需要的朋友可以參考下
    2018-07-07
  • Android開發(fā)微信APP支付功能的要點(diǎn)小結(jié)

    Android開發(fā)微信APP支付功能的要點(diǎn)小結(jié)

    微信支付現(xiàn)在在日常生活中隨處可見,而關(guān)于Android開發(fā)微信支付的文章網(wǎng)上也很多,所以這篇文章主要介紹的是在Android開發(fā)微信APP支付功能的要注意的要點(diǎn),有需要的可以參考借鑒。
    2016-08-08
  • Android小掛件(APP Widgets)設(shè)計(jì)指導(dǎo)

    Android小掛件(APP Widgets)設(shè)計(jì)指導(dǎo)

    這篇文章主要為大家詳細(xì)介紹了Android小掛件APP Widgets設(shè)計(jì)指導(dǎo),具有一定的參考價值,感興趣的小伙伴們可以參考一下
    2016-12-12
  • Android去除AlertDialog的按鈕欄的分隔線

    Android去除AlertDialog的按鈕欄的分隔線

    這篇文章主要介紹了Android去除AlertDialog的按鈕欄的分隔線,小編覺得挺不錯的,現(xiàn)在分享給大家,也給大家做個參考。一起跟隨小編過來看看吧
    2018-06-06
  • Android簡單實(shí)用的可拖拽GridView組件分享

    Android簡單實(shí)用的可拖拽GridView組件分享

    在我們?nèi)粘i_發(fā)中,使用?GridView?這種網(wǎng)格視圖的場合還是不少的,本篇我們來介紹一個支持拖拽的?GridView?組件,可以輕松搞定網(wǎng)格視圖的拖拽排序,需要的可以參考一下
    2023-06-06
  • Android使用SoundPool播放音效

    Android使用SoundPool播放音效

    這篇文章主要為大家詳細(xì)介紹了Android使用SoundPool播放音效,文中示例代碼介紹的非常詳細(xì),具有一定的參考價值,感興趣的小伙伴們可以參考一下
    2018-07-07

最新評論

博湖县| 汨罗市| 平舆县| 安吉县| 汉寿县| 兴业县| 巩留县| 尼勒克县| 綦江县| 元朗区| 潼关县| 平遥县| 大姚县| 洪雅县| 扎赉特旗| 丰原市| 江达县| 开封县| 福鼎市| 边坝县| 华池县| 开原市| 隆回县| 平乐县| 布尔津县| 高唐县| 施甸县| 工布江达县| 茂名市| 五台县| 门源| 灌阳县| 周口市| 安阳市| 镇赉县| 凉城县| 牙克石市| 永泰县| 苍梧县| 瑞昌市| 新田县|