下のバーのアイコンをクリックしたときのズーム効果をどのように無効にしますか? 私はuseFixedMode()
を使用しようとしましたが、この機能は利用できません。粗いANDROIDのアイコンのシフトエフェクト(ズームエフェクト)を削除するには?
2
A
答えて
0
私は間違ったライブラリを使用していると思います。 あなたはGradleの中で、このライブラリを使用することができます。その後、
compile 'com.roughike:bottom-bar:1.4.0.1'
とあなたの代わりにラフハイキングのカスタマイズされた下部のナビゲーションバーを使用することができます
bottombar.useFixedMode();
0
を使用してみてください。
`<android.support.v7.widget.CardView
android:id="@+id/cvBottomNavigationBar"
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_alignParentBottom="true"
android:background="?attr/selectableItemBackground"
app:cardCornerRadius="0dp"
app:cardElevation="6dp">
<LinearLayout
android:id="@+id/tab_item_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentBottom="true"
android:gravity="bottom"
android:orientation="horizontal">
<RelativeLayout
android:id="@+id/tab_iv_0"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center"
android:padding="6dp">
<ImageView
android:id="@+id/iv_0"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_gravity="center"
android:clickable="false"
android:contentDescription="@null"
android:src="@drawable/home" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/tab_iv_1"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center"
android:padding="6dp">
<ImageView
android:id="@+id/iv_1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_gravity="center"
android:clickable="false"
android:contentDescription="@null"
android:src="@drawable/bookmark" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/tab_iv_2"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center"
android:padding="6dp">
<ImageView
android:id="@+id/iv_2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_gravity="center"
android:clickable="false"
android:contentDescription="@null"
android:src="@drawable/profile" />
</RelativeLayout>
</LinearLayout>
</android.support.v7.widget.CardView>`
関連する問題
- 1. IE削除 'コンテンツ'アイコンのアイコン
- 2. SearchViewを削除するにはアイコンを削除します
- 3. 削除画面にはアプリのアイコン
- 4. Android 6 - アイコンのグレーパディングを削除する
- 5. アンドロイドのステータスバーでバッテリーのアイコンを削除するには?
- 6. アンドロイドのナビゲーショントップバーのアイコンからスペースを削除するには?
- 7. Eclipse削除の矢印アイコン
- 8. faアイコンからブートストラップの背景色を削除するには
- 9. デフォルトの光沢アイコン効果を削除するには?
- 10. アイコンを削除して追加するには? wpfウィンドウのボタン?
- 11. PyQt5のQMessageBoxからアイコンを削除するには?
- 12. マルチレコードブロックの削除アイコンを削除します
- 13. デフォルトのJFrameアイコンを削除します
- 14. Androidデスクトップからアイコンを削除する
- 15. アクションバーからアイコンを削除するxamarin
- 16. UIImageに「削除」アイコンを追加するには?
- 17. セルスワイプはiOSのアイコンにテキストを削除します
- 18. アイコンを削除せずにアイコンをバインディングに追加するにはどうすればよいですか?
- 19. ズームエフェクトを作成する
- 20. JQuery Datatable編集/削除アイコン
- 21. Eclipseで反復アイコンを削除するには?
- 22. tinyMCE Editorからアイコンを削除するには?
- 23. ナビゲーション引き出しアイコンを削除するには
- 24. JDialogからアイコンを完全に削除する方法は?
- 25. CSS:削除アイコンをクリックすると左に遷移するリスト
- 26. フォントアイコンをSVGアイコンに置き換える - インラインスタイルを削除する
- 27. UnityのParticle Systemで表示されるアイコンを削除するには
- 28. JQM:navbarにアイコンを動的に追加/削除する
- 29. iTunes Storeでアイコンの光沢を削除する(アプリケーションに含まれない)
- 30. Roidプライベートチャットの問題