91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

CircularTools view漸變呈現效果

發布時間:2020-07-18 21:30:08 來源:網絡 閱讀:280 作者:楊光成 欄目:移動開發

CircularTools view漸變呈現效果

介紹:


CircularTools view漸變呈現效果,這是一個基本的activity

運行效果:

  • CircularTools view漸變呈現效果

  • CircularTools view漸變呈現效果

相關代碼

  • CircularTools view漸變呈現效果

  • AppIntroAnimation 切換view動畫

  • DraggableView GridView項目拖拽效果

  • PullDownListView高仿微信下拉眼睛出現動畫

  • 仿iOS的PickerView控件,有時間選擇和選項選擇并支持一二三級聯動效果

  • Meizhi-master 妹子客戶端 支持視頻播放

  • ExpandablePanel空間查看大圖特效

  • SlideBottomPanel 底部劃出視圖

  • 吃包子動畫AnimatePullToRefreshListView

  • Menu史上最牛的側滑效果

代碼:


package com.kogitune.prelollipoptransition.fragment;


import android.app.Fragment;

import android.os.Bundle;

import android.view.LayoutInflater;

import android.view.View;

import android.view.ViewGroup;


import com.kogitune.activity_transition.fragment.ExitFragmentTransition;

import com.kogitune.activity_transition.fragment.FragmentTransition;

import com.kogitune.prelollipoptransition.R;


/**

 * Created by takam on 2015/05/16.

 */

public class EndFragment extends Fragment {

    @Override

    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {

        View v = inflater.inflate(R.layout.fragment_end, container, false);

        final ExitFragmentTransition exitFragmentTransition = FragmentTransition.with(this).to(v.findViewById(R.id.fragment_p_w_picpathView)).start(savedInstanceState);

        exitFragmentTransition.startExitListening();

        return v;

    }


}

package com.kogitune.prelollipoptransition.fragment;


import android.app.Fragment;

import android.graphics.BitmapFactory;

import android.os.Bundle;

import android.view.LayoutInflater;

import android.view.View;

import android.view.ViewGroup;


import com.kogitune.activity_transition.fragment.FragmentTransitionLauncher;

import com.kogitune.prelollipoptransition.R;


/**

 * Created by takam on 2015/05/16.

 */

public class StartFragment extends Fragment {

    @Override

    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {

        View v = inflater.inflate(R.layout.support_fragment_start, container, false);

        v.setOnClickListener(new View.OnClickListener() {

            @Override

            public void onClick(View view) {

                final EndFragment toFragment = new EndFragment();

                FragmentTransitionLauncher

                        .with(view.getContext())

                        .p_w_picpath(BitmapFactory.decodeResource(getResources(), R.drawable.photo))

                        .from(view.findViewById(R.id.p_w_picpathView)).prepare(toFragment);

                getFragmentManager().beginTransaction().replace(R.id.content, toFragment).addToBackStack(null).commit();

            }

        });

        return v;

    }

}

package com.kogitune.prelollipoptransition.support_fragment;


import android.os.Bundle;

import android.support.v4.app.Fragment;

import android.view.LayoutInflater;

import android.view.View;

import android.view.ViewGroup;


import com.kogitune.activity_transition.fragment.ExitFragmentTransition;

import com.kogitune.activity_transition.fragment.FragmentTransition;

import com.kogitune.prelollipoptransition.R;


/**

 * Created by takam on 2015/05/16.

 */

public class SupportEndFragment extends Fragment {

    @Override

    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {

        View v = inflater.inflate(R.layout.support_fragment_end, container, false);

        final ExitFragmentTransition exitFragmentTransition = FragmentTransition.with(this).to(v.findViewById(R.id.fragment_p_w_picpathView)).start(savedInstanceState);

        exitFragmentTransition.startExitListening();

        return v;

    }


}

package com.kogitune.prelollipoptransition.support_fragment;


import android.os.Bundle;

import android.support.v4.app.Fragment;

import android.view.LayoutInflater;

import android.view.View;

import android.view.ViewGroup;


import com.kogitune.activity_transition.fragment.FragmentTransitionLauncher;

import com.kogitune.prelollipoptransition.R;


/**

 * Created by takam on 2015/05/16.

 */

public class SupportStartFragment extends Fragment {

    @Override

    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {

        View v = inflater.inflate(R.layout.support_fragment_start, container, false);

        v.setOnClickListener(new View.OnClickListener() {

            @Override

            public void onClick(View view) {

                final SupportEndFragment toFragment = new SupportEndFragment();

                FragmentTransitionLauncher.with(view.getContext()).from(view.findViewById(R.id.p_w_picpathView)).prepare(toFragment);

                getFragmentManager().beginTransaction().replace(R.id.support_content, toFragment).addToBackStack(null).commit();

            }

        });

        return v;

    }

}

package com.kogitune.prelollipoptransition;


import android.content.Intent;

import android.os.Bundle;

import android.support.v7.app.AppCompatActivity;

import android.view.Menu;

import android.view.MenuItem;

import android.view.View;

import android.view.ViewGroup;

import android.widget.AdapterView;

import android.widget.AdapterView.OnItemClickListener;

import android.widget.BaseAdapter;

import android.widget.ListView;


import com.kogitune.activity_transition.ActivityTransitionLauncher;


public class ListViewActivity extends AppCompatActivity {


    @Override

    protected void onCreate(Bundle savedInstanceState) {

        super.onCreate(savedInstanceState);

        setContentView(R.layout.activity_list_view);

        final ListView listView = (ListView) findViewById(R.id.list);

        listView.setAdapter(new BaseAdapter() {

            @Override

            public int getCount() {

                return 10;

            }


            @Override

            public Object getItem(int position) {

                return null;

            }


            @Override

            public long getItemId(int position) {

                return 0;

            }


            @Override

            public View getView(int position, View convertView, ViewGroup parent) {

                return getLayoutInflater().inflate(R.layout.list_row, null);

            }

        });

        listView.setOnItemClickListener(new OnItemClickListener() {

            @Override

            public void onItemClick(AdapterView<?> parent, View view, int position, long id) {

                final Intent intent = new Intent(ListViewActivity.this, SubActivity.class);

                ActivityTransitionLauncher.with(ListViewActivity.this).from(view.findViewById(R.id.p_w_picpath)).launch(intent);

            }

        });

    }


}


向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

同德县| 高密市| 沙雅县| 湘潭市| 宜黄县| 农安县| 泰顺县| 平定县| 康保县| 离岛区| 健康| 南溪县| 南城县| 长治市| 绥江县| 红原县| 潜山县| 榆社县| 郁南县| 尖扎县| 调兵山市| 新蔡县| 二连浩特市| 额敏县| 绥滨县| 石台县| 应城市| 高青县| 十堰市| 德州市| 淮阳县| 农安县| 格尔木市| 盐津县| 东明县| 鄂尔多斯市| 象山县| 通渭县| 宣城市| 师宗县| 肃宁县|