2
我有一个使用谷歌地图的Android应用程序,我想要一个搜索栏,看起来就像android谷歌地图。以下是我的XML代码和我所拥有的图片。android - 在谷歌地图中更改autocomplete_fragment的图标
<android.support.v7.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp">
<fragment
android:id="@+id/place_autocomplete_fragment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:name="com.google.android.gms.location.places.ui.PlaceAutocompleteFragment"/>
</android.support.v7.widget.CardView>
的问题是,我有,当你从左侧滑动打开抽屉式导航。我想添加“三条横线”到谷歌地图等搜索栏,所以无论何时单击,都会打开如下所示的抽屉式导航栏。
那么我怎么才能改变“放大镜”到“3点横”,使导航抽屉打开的点击。谢谢!
也就是说,像变魔术一样。谢谢 :) –