選九圖使用開源Lib:https://github.com/crazycodeboy/TakePhoto葛躏,文檔很全养铸,使用簡便
TakePhoto的自定義UI
<!--TakePhoto的Toolbar-->
<color name="multiple_image_select_primary">#1b1b1f</color>
<!--TakePhoto的狀態(tài)欄-->
<color name="multiple_image_select_primaryDark">#000000</color>
<!-- 修改TakePhoto確定按鈕顏色 -->
<style name="MultipleImageSelectTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorPrimary">@color/multiple_image_select_primary</item>
<item name="colorPrimaryDark">@color/multiple_image_select_primaryDark</item>
<item name="colorAccent">@color/multiple_image_select_accent</item>
<item name="actionModeStyle">@style/CustomActionModeStyle</item>
<item name="windowActionModeOverlay">true</item>
<!--確定按鈕顏色-->
<item name="actionMenuTextColor">@android:color/white</item>
</style>