我正在使用sherlok-actionbar并尝试在操作按钮之间应用分隔符.我有风格,但分隔线不可见,为什么?
<style name="Theme.SherlockCustom" parent="@style/Theme.Sherlock.Light">
<item name="abBackground">@drawable/actionbar_gradient</item>
<item name="abIcon">@drawable/logo</item>
<item name="abDivider">@drawable/ab_divider</item>
</style>
Run Code Online (Sandbox Code Playgroud)
谢谢!
我使用默认相机来捕获视频:
Intent intent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);
intent.putExtra(MediaStore.EXTRA_VIDEO_QUALITY, 1);
intent.putExtra(MediaStore.EXTRA_DURATION_LIMIT,MAX_DURATION);
intent.putExtra(MediaStore.EXTRA_SIZE_LIMIT, MAX_SIZE_BYTES);
startActivityForResult(intent, CAPTURE_VIDEO_ACTIVITY_REQUEST_CODE);
Run Code Online (Sandbox Code Playgroud)
如何将文件容器设置为 .mp4 而不是 .3gp?
android ×1